#ifndef CFG_OUTPUT_LAYOUT_H
#define CFG_OUTPUT_LAYOUT_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
#define CFG_OUTPUT_LAYOUT_X_NOT_SET -1
#define CFG_OUTPUT_LAYOUT_Y_NOT_SET -1
struct cfg_output_layout_info{
  s32 x;
  s32 y;
};

struct cfg_ctx_output;
void cfg_output_layout_info_defaults(struct cfg_output_layout_info *info);
void cfg_output_layout_info_get(struct cfg_ctx_output *c,s64 output_start,
                                           struct cfg_output_layout_info *info);
#endif
